package org.exez.modules.visitor.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description: 访客随行表
 * @Author: exez-boot
 * @Date:   2020-06-04
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="审核申请对象")
public class AuditApplicationVO {

    @ApiModelProperty(value = "id",required = true)
	@NotNull(message = "id不能为空")
	private Integer id;


	/**
	 * 审核状态1：提交申请 2：申请通过 3：访问成功 4：访问超时 5：审核失败
	 */
	@ApiModelProperty(value = "审核状态1：提交申请 2：申请通过 3：访问成功 4：访问超时 5：审核失败",required = true)
	@NotNull(message = "审核状态1不能为空")
	private java.lang.Integer status;


	@ApiModelProperty(value = "访客姓名",required = false)
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm")
	@DateTimeFormat(pattern = "yyyy/MM/dd HH:mm")
	private Date visitDate;



}
